package com.teemo.dp.flyweight.demo2;

import lombok.Data;

/**
 * @author Teemo
 */
    @Data
    public abstract class Piece {

        // 棋子的宽、高、材质、棋子形状
    //    private int width;
    //    private int height;
    //    private String material;
    //    private String shape;

        /**
         *
         * @return
         */
        public abstract String getColor();

    }
